const { defineConfig } = require('@vue/cli-service')
// const { VantResolver } = require('unplugin-vue-components/resolvers');
// const ComponentsPlugin = require('unplugin-vue-components/webpack');
module.exports = defineConfig({
  transpileDependencies:true,
  devServer: {
    
    // https:true,
    port: 5000,
    client: {
      webSocketURL: 'ws://0.0.0.0:6103/ws',
    },
    headers: {
      'Access-Control-Allow-Origin': '*',
    }
  },
  transpileDependencies: true
})
module.exports = {
  lintOnSave: false,
  publicPath: "./",    //   打包 配置这个可以先本地查看下 效果
  productionSourceMap: false     //  调试文件的功能关闭 能加快打包
};
  
